package net.neptech.service;

import net.neptech.model.dto.TaskParamDto;
import net.neptech.model.dto.TaskResultDto;

import java.util.List;

public interface InstanceOperRecordService {
    TaskResultDto saveRecord(String userId, TaskParamDto taskParamDto, String operType, String desc);

    void saveCancelProcessRecord(String userId, String instanceId);

    void saveStartProcessRecord(String userId, String processInstanceId, String flowId);

    void clearProcess(String uniqueId, List<String> flowIdList, List<Long> processIdList, String tenantId);
}
